473,505 Members | 14,658 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

programmatic FTP

Hi all -

Do any of you know of a tool that you can reference from ASP vbScript to FTP
a file sitting on the server to another server somewhere that has an open
FTP port?

DETAIL:
I have a content management system I wrote that runs only on a Windows box.
New client must stay with his host who only runs Linux boxes.
I want to modify my engine so that when he is on the admin side and saves
changes to a page, an HTML page is generated and FTP'd over to that Linux
server.

Ideas?

--
Scotter
Jul 19 '05 #1
4 1397
This would be a bit flakey, and I'd suggest you not try to do this, but
well, I guess you'll have to do what you have to do.

You can "shell out" to ftp.exe and pass it some data to automate an FTP
process. You'd want to create an ftp "instruction" file, and then pass that
file to ftp.exe as so. (This assumes your instruction file exists. If you
need to create it on the fly, use the File System Object to create a file
first.)
C:\ftpcommand.ftp

open 123.123.123.123
user REPLACETHISWITHYOURUSERNAME
REPLACETHISWITHYOURPASSWORD
lcd D:\LocalDirOnYourServer
cd RemoteDirectoryOnServer
type ascii
put asciifile.htm
type binary
put binaryfile.gif
close
quit

Then execute this code:

Set oShell = CreateObject("WScript.Shell")
oShell.Run "%windir%\system32\ftp.exe -n -s:C:\ftpcommand.ftp", 0, False
Set oShell = Nothing

Ray at work
"Scotter" <sp**@spam.com> wrote in message
news:rU****************@fe1.texas.rr.com...
Hi all -

Do any of you know of a tool that you can reference from ASP vbScript to
FTP
a file sitting on the server to another server somewhere that has an open
FTP port?

DETAIL:
I have a content management system I wrote that runs only on a Windows
box.
New client must stay with his host who only runs Linux boxes.
I want to modify my engine so that when he is on the admin side and saves
changes to a page, an HTML page is generated and FTP'd over to that Linux
server.

Ideas?

--
Scotter

Jul 19 '05 #2
check over at www.aspin.com, there might be an FTP component for the server
you can use.

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Scotter" <sp**@spam.com> wrote in message
news:rU****************@fe1.texas.rr.com...
Hi all -

Do any of you know of a tool that you can reference from ASP vbScript to
FTP
a file sitting on the server to another server somewhere that has an open
FTP port?

DETAIL:
I have a content management system I wrote that runs only on a Windows
box.
New client must stay with his host who only runs Linux boxes.
I want to modify my engine so that when he is on the admin side and saves
changes to a page, an HTML page is generated and FTP'd over to that Linux
server.

Ideas?

--
Scotter

Jul 19 '05 #3
http://www.aspfaq.com/show.asp?id=2110

I use ASPInet and have been very pleased.

Mike

-----Original Message-----
Hi all -

Do any of you know of a tool that you can reference from ASP vbScript to FTPa file sitting on the server to another server somewhere that has an openFTP port?

DETAIL:
I have a content management system I wrote that runs only on a Windows box.New client must stay with his host who only runs Linux boxes.I want to modify my engine so that when he is on the admin side and saveschanges to a page, an HTML page is generated and FTP'd over to that Linuxserver.

Ideas?

--
Scotter
.

Jul 19 '05 #4
Hello Scotter,

Do you have any more concerns on the community's reply? If there is any
unclear, please feel free to post here. Thanks very much.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ¨C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
-http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.as
p&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1177
by: haughki | last post by:
A year ago i used XSV. I'm having a little trouble with PyLtXML, and I'm wondering if any of the more "mainstream" XML packages (PyXML) has integrated schema validation into their toolset; or, if...
6
2431
by: Dave Boyd | last post by:
Are there arguments for the built-in commands called via RunCommand such as acCmdNewObjectReport or do they always require interactive input? Is the code behind the built-in commands exposed...
3
5251
by: MikeM | last post by:
I've been trying to locate some property or method that will allow programmatic access to the "loginUrl" attribute in the web.config file in the <system.web> -> <authentication> element when the...
0
982
by: Daniel | last post by:
programmatic to ftp virtual directories when i connect to an ftp server and i only have access to a few of the ftp virtual directories, do i just change directory to them after connecting and...
6
4155
by: Blaine Manyluk | last post by:
I have a very unusual request. I need to be able to generate reports and save them as TIF files, with full programmatic control. The application will provide the filenames. Each page of the...
2
1754
by: williamphenryjr | last post by:
This is a long post. If you have answers I'm ready. If you have web links, that'd be great too. I'm a Junior/Senior in Computer Science at Washington State University, so you can make some...
2
1161
by: myzm | last post by:
I want to provide a menu for user to log out system after they logged in using the Login control. Nowhere I can find information about programmatic logout. Any help? Thanks.
2
1080
by: matt.delvecchio | last post by:
hello, i have a user control that works great, when its used as a design-time controls. however, when i try to use it as a programmtic control, im running into troubles. the control is pretty...
0
777
by: tvaughan77 | last post by:
True or false: In Windows 2000, the user account that runs IIS (typically ASPNET) *must* be allowed to "Act as part of the operating system" in order for impersonation to work? Is that also...
9
2931
by: Axxe | last post by:
I have searched high and low for cogent, well-explained coding to complete a project on which I have spent six months of work. I stumbled across something on this site that is close to what I...
0
7216
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7018
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5613
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5028
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4699
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
1528
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.