473,394 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

php ftp-like uploads

kestrel
1,071 Expert 1GB
does anyone know how or where to get a php script from which i can upload things to my site, without using port 21?
i need to upload stuff to a directory i specify, from a php script.
is this possible?
thanks much


--
Devin
Dec 17 '06 #1
3 1542
steven
143 100+
Yes, it's possible, however, you will need to have write permissions to the system temp directory, or be able to specify a temp directory in the php config file, that you have access and write permissions on.

Also, this isn't a script library website. It's a forum for programmers who need help. If you look properly, even the PHP documentation at php.net has a basic file uploading "tutorial". Go and look it up.
Dec 17 '06 #2
cassbiz
202 100+
You can upload using a PHP class found from PHP Classes .

If you need to change the port number then both the server and the script have to be in sync.

I know on my Linux box I changed the port number and all other software has to be sync'd.
Dec 19 '06 #3
halles
7
does anyone know how or where to get a php script from which i can upload things to my site, without using port 21?
i need to upload stuff to a directory i specify, from a php script.
is this possible?
thanks much


--
Devin
Yes I do have the script you need...
Here is the link: http://www.halleswebdesign.com/htm/infusions/pro_download_panel/download.php?did=15
Dec 20 '06 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Phillip Armitage | last post by:
I've spent the better part of two days checking out PHP, javascript and numerous other language sites trying to find what I figure should be be an easy web script page. Essentially what I want is a...
1
by: Tim G. | last post by:
I am trying to use Win Python to ftp files from an AS/400 IFS directory down to my Windows machine. I seem to get stuck when I am trying to send a command to the AS/400 to switch file systems...
19
by: Kramer | last post by:
Hi all, And thank you all so very much for all your recommendations. This is a great group. I ran across a freeware uploader from Toma Web called, Simple FTP 2.0. Anyone have any knowledge...
5
by: JGPa | last post by:
In VB 6.0 I could upload a local file to the mainframe and specify in the VB statement both the local file name and the name to assign to the file when it was created on the mainframe. Can I do...
3
by: Greg Sabino Mullane | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A bad link in the ftp source directory inspired me to check the rest of it out: * Main README file needs updating. The URL is given as: ...
17
by: Lauren Wilson | last post by:
Does anyone know if it is possible to capture FTP responses to various FTP commands when managing an FTP session from a VBA procedure? For example, if we try to login to an FTP server and the...
7
by: Mark Rae | last post by:
Hi, Has anyone successfully used the FTP stuff in the System.Net namespace against a VMS FTP server? I'm trying to do this at the moment and can't even get a directory listing, although there...
1
by: Vic Spainhower | last post by:
Hello, I am trying to download a file to my local machine using PHP. However, when the script runs the file is placed in the folder assigned to the ftp user on the Web server instead of...
4
by: Harry | last post by:
Hi there. I am trying to download a file(sn.last) from a public FTP server with the following code: from ftplib import FTP ftp=FTP('tgftp.nws.noaa.gov') ftp.login()...
7
by: =?Utf-8?B?SmFzb24=?= | last post by:
Hello, can someone please suggest to me how I can keep my ftp connection from timing out after a large file download? I am using SSIS and I have tried multiple ways of ftp'ing the files in my...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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
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...

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.