FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old January 9th, 2004, 11:04 AM
Schway442 Schway442 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 43 Schway442 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 55 sec
Reputation Power: 5
Problem FTPing with ASP

I have a VBscript that FTP's to our external webserver:

Set objScript = CreateObject("WScript.Shell")
objScript.Run ("FTP -s:ftpfile.txt www.domain.com")

The ftpfile.txt are the command for an ftp session. It works wonderfully. I'd like to put it on our intranet for a certain user to be able to utilize FTP in this manner. So, I figured I could just slap it in between <% %> and it should work. But... it doesn't. What do I need to do?

Reply With Quote
  #2  
Old January 9th, 2004, 12:51 PM
jstrohofer jstrohofer is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Cincinnati, OH USA
Posts: 111 jstrohofer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 m 3 sec
Reputation Power: 5
I haven't tested this code, but it's not as simple as just placing your code inside the ASP delimiters.

Take a look at the following page and see if you can use the code they have.

http://www.codetoad.com/asp_ftp.asp

Reply With Quote
  #3  
Old January 9th, 2004, 01:04 PM
Schway442 Schway442 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 43 Schway442 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 32 m 55 sec
Reputation Power: 5
I actually started with that source code and it did nothing. I didn't get any errors... and the file wasn't FTPd either. ~shrugs~

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Problem FTPing with ASP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway