Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Upload file on a server

You can check this link at Randy Birch's site that shows how to connect with
a username and password:

http://vbnet.mvps.org/index.html?cod...tpdownload.htm

--
Regards,
Tom Ogilvy


"alfredo" wrote in message
...
Tom,

I've just picked up on this thread because I have a pretty similar need.

I have looked at your three links in some detail, but to be honest, not

sure
where to go next. In the links I am having some dificulty seperating

between
what is necesary, and what are (rather old?) downloads/add-ins(?).

I am trying to have excel open another excel file which is in an ftp

server.

I have no problem opening the file if I have previously conected to the
server, but if I have not done this already it prompts me for a user name

and
password (no problem in principle, but would rather be able to skip this

and
have it all in the code).

Looking through your references, I am pretty sure is should be fairly
simple, along the lines of the following:

FtpClient.URL = "ftp://address"
FtpClient.UserName = "username"
FtpClient.Password = "password"
FtpClient.Connect


but I am not sure what else I need to put around it (or if I really need

to
download and install the stuff in your three links).

Help would be very, very much appreciated.



"Tom Ogilvy" wrote:

http://www.vb-helper.com/howto_ftp.html

http://www.zarr.net/vb/download/codedetail.asp?code=258

http://www.vbip.com/protocols/ftp/vb...ry/default.asp

--
Regards,
Tom Ogilvy


"loopoo" wrote in
message ...

Hi!

Please let me know how is it possible to upload file(s) from your
computer to a server using Excel: is it possible to run Windows shell
commands in a macro ?? I was thinking to use ftp and to send the file
to that server (it's a UNIX server, for which I have an username and a
password)

Thanks,
Chris


--
loopoo


------------------------------------------------------------------------
loopoo's Profile:

http://www.excelforum.com/member.php...o&userid=28792
View this thread:

http://www.excelforum.com/showthread...hreadid=486825






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using BIDS to upload excel file to SQL Server table PatFromWilloughby Excel Discussion (Misc queries) 0 December 6th 07 03:44 PM
Data Upload from Excel to SQL Server Duke Carey Excel Discussion (Misc queries) 3 December 19th 06 05:49 PM
Data Upload from Excel to SQL Server Duke Carey Excel Worksheet Functions 3 December 19th 06 05:49 PM
Data Upload from Excel to SQL Server Duke Carey Links and Linking in Excel 3 December 19th 06 05:49 PM
upload text and/or image files to a web server? Naran Hirani Excel Programming 0 July 28th 03 08:41 PM


All times are GMT +1. The time now is 10:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"